package com.xlh.dao.user;

import com.xlh.dto.user.ClassCourseDTO;
import com.xlh.dto.user.ClassDTO;
import com.xlh.dto.user.ClassInfoDTO;
import com.xlh.pojo.user.Class;
import com.xlh.pojo.user.ClassExample;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

public interface ClassMapper {
    long countByExample(ClassExample example);

    int deleteByExample(ClassExample example);

    int deleteByPrimaryKey(Long id);

    int insert(Class record);

    int insertSelective(Class record);

    List<Class> selectByExample(ClassExample example);

    Class selectByPrimaryKey(Long id);


    int selectClassCourse(@Param("classid") List<Long> classid);

    int updateByExampleSelective(@Param("record") Class record, @Param("example") ClassExample example);

    int updateByExample(@Param("record") Class record, @Param("example") ClassExample example);

    int updateByPrimaryKeySelective(Class record);

    int updateByPrimaryKey(Class record);

    List<ClassInfoDTO> selectClassInfo(Map map);

    List<String> selectNaClassInfo();

    String selectClassInfoFlag(Long classId);
}